﻿using B.S.DataBase.MyProject.Domain;
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace B.S.DataBase.MyWrite.API.Appicant.CommandHandler.QingJia
{
    public class QingJiaCreateCommand: IRequest<APIResult<object>>
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public int DepartId { get; set; }
        /// <summary>
        /// 请假类别
        /// </summary>
        public int LeaveCategory { get; set; }
        /// <summary>
        /// 请假开始时间
        /// </summary>
        public DateTime BeginTime { get; set; }
        /// <summary>
        /// 请假结束时间
        /// </summary>
        public DateTime EndTime { get; set; }

        /// <summary>
        /// 报道时间
        /// </summary>
        public DateTime BaoDaoTime { get; set; }

        /// <summary>
        /// 请假事由
        /// </summary>
        public string LeaveReason { get; set; }
        /// <summary>
        /// 部门领导
        /// </summary>
        public int DepartName { get; set; }

        /// <summary>
        /// 总工时
        /// </summary>
        public int Zongtime { get; set; }


        /// <summary>
        /// 审批状态
        /// </summary>
        public Status Status { get; set; }
        /// <summary>
        /// 当前级别
        /// </summary>
        public int HaoId { get; set; }


    }
}
